//
//  LYouXyWebController.m
//  LYouSubscribeApp
//
//  Created by grx on 2018/12/19.
//  Copyright © 2018年 grx. All rights reserved.
//

#import "LYouXyWebController.h"

@interface LYouXyWebController ()

@end

@implementation LYouXyWebController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.gk_statusBarHidden = YES;
    self.gk_navigationBar.hidden  = YES;
    NSString *url;
    if (self.selType==0) {
        url = @"/term";
    }else if (self.selType==1){
        url = @"/privacy";
    }else if (self.selType==2){
        url = @"/subscription";
    }
    [self startLoadWithTitle:@"服务协议" url:[NSString stringWithFormat:@"%@%@",LYBASEURL,url]];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
